<?php


$FirstName $_REQUEST['FirstName']);
$LastName = $_REQUEST['LastName']);
$StreetAddress = $_REQUEST['StreetAddress']);
$Phone = $_REQUEST['Phone'];
$EmailAddress = $_REQUES['EmailAddress']);
$Comments = $_REQUEST['Comments']);
		

if (empty($FirstName, $LastName, $Phone, $StreetAddress, $EmailAddress, $Comments) {
header( "Location: error.html" );
}

else {
mail( "gary.harmon1020@gmail.com", "Contact Form Results",
$FirstName, $LastName, $Phone, $StreetAddress, $EmailAddress, $Comments, "From: $EmailAddress" );
header( "Location: Thankyou.html" );
}
?>